package router

import (
	"github.com/cloudwego/hertz/pkg/route"
	"monthly/biz/handler/api"
)

func PassengerModel(r *route.RouterGroup) {
	passengerModel := r.Group("/passenger")
	{
		passengerModel.POST("/sendSms", api.SendSms)
		passengerModel.POST("/register", api.Register)
		passengerModel.POST("/login", api.Login)
		passengerModel.POST("/uploadPassenger", api.UploadPassenger)
		passengerModel.POST("/sartRating", api.SartRating)
		passengerModel.POST("/queryPTrip", api.QueryPTrip)
	}
}
